package bjut.core.Message;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: zhuzhiming
 * @Date: 2022/4/8 20:54
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class RpcMessage implements Serializable {

    private byte messageType;

    private byte codec;

    private byte compress;

    private int requestId;

    private Object data;

}
